package com.bjsxt.array;

import java.sql.SQLOutput;

public class TestCopy {
    public static void main(String[] args) {
        String[] s={"ali","sxt","jd","shoufu"};
        String[] sBak =  new String[6];
        System.arraycopy(s,0,sBak,0,s.length);
        for (String i:sBak){
            System.out.println(i+'\t');
        }
    }
}
